package com.woniu.product.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_course")
public class TCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "course_id", type = IdType.AUTO)
    private Integer courseId;

    /**
     * 场馆编号
     */
    @TableField("gym_num")
    private String gymNum;

    @TableField("coach_id")
    private Integer coachId;

    @TableField("course_type_id")
    private Integer courseTypeId;

    /**
     * 1团课 2私课（无需排课）
     */
    @TableField("course_variety")
    private Integer courseVariety;

    /**
     * 课程标题
     */
    @TableField("course_title")
    private String courseTitle;

    @TableField("course_image")
    private String courseImage;

    @TableField("course_details")
    private String courseDetails;

    @TableField("course_price")
    private BigDecimal coursePrice;

    /**
     * 私课（1）
     */
    @TableField("limit_num")
    private Integer limitNum;

    @TableField("course_sale")
    private Integer courseSale;

    @TableField("all_number")
    private Integer allNumber;

    /**
     * 单位：月
     */
    @TableField("course_indate")
    private String courseIndate;

    /**
     * 0删除 1待定 2上架 3下架 4完结
     */
    @TableField("course_state")
    private Integer courseState;

    /**
     * 0无需排课 1未排课 2已排课
     */
    @TableField("plan_state")
    private Integer planState;

    @TableField("create_date")
    private String createDate;

    @TableField("create_admin")
    private String createAdmin;


}
